<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<body>
<div class="container">
<section>
<div id="container_demo" >
<div id="wrapper">
<div id="login" class="animate form">   
                 


<form:form name="era" method="post" action="add.html">

		<h1><spring:message code="label.erregistratu"/></h1>
		<form:label path="erabiltzailea" data-icon="u"><spring:message code="label.erabiltzailea"/></form:label>
		<form:input path="erabiltzailea" required="required" type="text" placeholder="myusername or mymail@mail.com"/>
		<form:label path="pasahitza" data-icon="p"><spring:message code="label.pasahitza"/></form:label>
		<form:input path="pasahitza" required="required" type="password" placeholder="Sartu pasahitza"/>
		<form:label path="izena" data-icon="u" ><spring:message code="label.izena"/></form:label>
		<form:input path="izena" required="required" type="text" placeholder="myusername or mymail@mail.com"/>
		<form:label path="abizena" data-icon="u"><spring:message code="label.abizena"/></form:label>
		<form:input path="abizena" required="required" type="text" placeholder="myusername or mymail@mail.com"/>
		<form:label path="emaila" data-icon="u"><spring:message code="label.emaila"/></form:label>
		<form:input path="emaila" required="required" type="email" placeholder="myusername or mymail@mail.com"/>
		<form:label path="herrialdea" data-icon="u"><spring:message code="label.herrialdea"/></form:label>
		<form:input path="herrialdea" required="required" type="text" placeholder="myusername or mymail@mail.com"/>
		<%-- <form:label path="jaiotzeeguna"><spring:message code="label.jaiotzeeguna"/></form:label>
		<form:input path="jaiotzeeguna" required="required" type="text" placeholder="myusername or mymail@mail.com"/> --%>
		<fieldset>
	                  <label><spring:message code="label.jaiotzeeguna"/></label>
	                  <label class="month">
	                  <select class="select-style" name="BirthMonth">
	                  <option value="">Month</option>
	                  <option  value="01">January</option>
	                  <option value="02">February</option>
	                  <option value="03" >March</option>
	                  <option value="04">April</option>
	                  <option value="05">May</option>
	                  <option value="06">June</option>
	                  <option value="07">July</option>
	                  <option value="08">August</option>
	                  <option value="09">September</option>
	                  <option value="10">October</option>
	                  <option value="11">November</option>
	                  <option value="12" >December</option>
	                  </select> 
	                  </label>					  
	                <label>Day<input class="birthday" maxlength="2" name="BirthDay"  placeholder="Day" required=""></label>
	                <label>Year <input class="birthyear" maxlength="4" name="BirthYear" placeholder="Year" required=""></label>
	              </fieldset>
			<p class="signin button"> 
			<input type="submit" value="<spring:message code="label.adderabiltzaile"/>"/>
			</p>
		<p class="change_link">
			<spring:message code="label.kideabai"/><a href="login" class="login"><spring:message code="label.logeatu"/></a>
		</p>
			
			
</form:form>
	
</div>
</div>
</div>
</section>
</div>	
</body>
